﻿using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;
namespace Models.DbModels
{
    [SugarTable("T_Users")]
    public class User
    {
        [SugarColumn(ColumnName ="Id",IsPrimaryKey =true)]
        public Guid Id { get; set; }
        [SugarColumn(ColumnName = "Code")]
        public string Code { get; set; }
        [SugarColumn(ColumnName ="Name")]
        public string Name { get; set; }
        [SugarColumn(ColumnName = "Password")]
        public string Password { get; set; }
        [SugarColumn(ColumnName = "CreatedTime",IsOnlyIgnoreInsert =true)]
        public DateTime CreatedTime { get; set; } 
    }
}
